package com.mc.fil.domain;

import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.mc.common.annotation.Excel;
import com.mc.common.core.domain.BaseEntity;

/**
 * 晾晒情况 晾晒情况对象 fil_drying_conditions
 *
 * @author mc
 * @date 2021-04-15
 */
public class FilDryingConditions extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 创建人 */
    @Excel(name = "创建人")
    private String createdBy;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdTime;

    /** 编号 */
    private Long id;

    /** 采种田编号 */
    @Excel(name = "采种田编号")
    private String filId;

    /** 晾晒场地 */
    @Excel(name = "晾晒场地")
    private String dryingConditionsSite;

    /** 晾晒厚度 */
    @Excel(name = "晾晒厚度")
    private String dryingConditionsThick;

    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startTime;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endTime;

    /** 除杂描述 */
    @Excel(name = "除杂描述")
    private String edulcorationDesc;

    /** 除杂过程 */
    @Excel(name = "除杂过程")
    private String edulcorationProcess;

    /** 执行人编号 */
    @Excel(name = "执行人编号")
    private String workUserId;

    private List<FilMultimedia> photos;

    public List<FilMultimedia> getPhotos() {
        return photos;
    }

    public void setPhotos(List<FilMultimedia> photos) {
        this.photos = photos;
    }

    public void setCreatedBy(String createdBy)
    {
        this.createdBy = createdBy;
    }

    public String getCreatedBy()
    {
        return createdBy;
    }
    public void setCreatedTime(Date createdTime)
    {
        this.createdTime = createdTime;
    }

    public Date getCreatedTime()
    {
        return createdTime;
    }
    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setFilId(String filId)
    {
        this.filId = filId;
    }

    public String getFilId()
    {
        return filId;
    }
    public void setDryingConditionsSite(String dryingConditionsSite)
    {
        this.dryingConditionsSite = dryingConditionsSite;
    }

    public String getDryingConditionsSite()
    {
        return dryingConditionsSite;
    }
    public void setDryingConditionsThick(String dryingConditionsThick)
    {
        this.dryingConditionsThick = dryingConditionsThick;
    }

    public String getDryingConditionsThick()
    {
        return dryingConditionsThick;
    }
    public void setStartTime(Date startTime)
    {
        this.startTime = startTime;
    }

    public Date getStartTime()
    {
        return startTime;
    }
    public void setEndTime(Date endTime)
    {
        this.endTime = endTime;
    }

    public Date getEndTime()
    {
        return endTime;
    }
    public void setEdulcorationDesc(String edulcorationDesc)
    {
        this.edulcorationDesc = edulcorationDesc;
    }

    public String getEdulcorationDesc()
    {
        return edulcorationDesc;
    }
    public void setEdulcorationProcess(String edulcorationProcess)
    {
        this.edulcorationProcess = edulcorationProcess;
    }

    public String getEdulcorationProcess()
    {
        return edulcorationProcess;
    }
    public void setWorkUserId(String workUserId)
    {
        this.workUserId = workUserId;
    }

    public String getWorkUserId()
    {
        return workUserId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("createdBy", getCreatedBy())
                .append("createdTime", getCreatedTime())
                .append("id", getId())
                .append("filId", getFilId())
                .append("dryingConditionsSite", getDryingConditionsSite())
                .append("dryingConditionsThick", getDryingConditionsThick())
                .append("startTime", getStartTime())
                .append("endTime", getEndTime())
                .append("edulcorationDesc", getEdulcorationDesc())
                .append("edulcorationProcess", getEdulcorationProcess())
                .append("workUserId", getWorkUserId())
                .append("photos", getPhotos())
                .toString();
    }
}